package App.Model.Tecent;

import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by xw on 2019/4/24.
 */

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Component
public class TecentIMConfig {
    @Value("${tecent.im.sdkappid}")
    private long sdkappid;
    @Value("${tecent.im.accounttype}")
    private int accounttype;
    @Value("${tecent.im.keypath_windows}")
    private String keypath_windows;
    @Value("${tecent.im.keypath_linux}")
    private String keypath_linux;
    @Value("${tecent.im.rooturl}")
    private String rooturl;
    @Value("${tecent.im.groupurl}")
    private String groupurl;
    @Value("${tecent.im.accounturl}")
    private String accounturl;
    @Value("${tecent.im.accountimport}")
    private String accountimport;
    @Value("${tecent.im.creategroup}")
    private String creategroup;
    @Value("${tecent.im.destroyGroup}")
    private  String destroyGroup;
    @Value("${tecent.im.addGroupMember}")
    private String addGroupMember;
    @Value("${tecent.im.deleteGroupMember}")
    private String deleteGroupMember;
    @Value("${tecent.im.commonGroupMessage}")
    private String commonGroupMessage;
    @Value("${tecent.im.adminid}")
    private  int adminid;
    @Value("${tecent.im.sendmessage}")
    private  boolean sendmessage;
    @Value("${tecent.im.sigType}")
    private int sigType;
    @Value("${tecent.im.securetKey}")
    private String securetKey;
    @Value("${tecent.im.kick}")
    private String kick;
}
